package info.ask4research.model.activities;

import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.Lob;

import org.codehaus.jackson.annotate.JsonAutoDetect;
import org.codehaus.jackson.annotate.JsonProperty;

@Entity
@DiscriminatorValue("LearningActivity")
@JsonAutoDetect
public class LearningActivity extends Activity{

	@Column(name="descriptionObjective", nullable=true)
	@Lob
	@JsonProperty
	private String descriptionObjective;
	
	@Column(name="descriptionPrerequisites", nullable=true)
	@Lob
	@JsonProperty
	private String descriptionPrerequisites;

	public String getDescriptionObjective() {
		return descriptionObjective;
	}

	public void setDescriptionObjective(String descriptionObjective) {
		this.descriptionObjective = descriptionObjective;
	}

	public String getDescriptionPrerequisites() {
		return descriptionPrerequisites;
	}

	public void setDescriptionPrerequisites(String descriptionPrerequisites) {
		this.descriptionPrerequisites = descriptionPrerequisites;
	}
	
}
